package com.xiangban.service;

import com.github.pagehelper.PageInfo;
import com.xiangban.model.AccompanyReceiveOrder;
import com.xiangban.model.Order;
import com.xiangban.model.OrderComment;
import com.xiangban.model.dto.AccompanyReceiveStatusDto;
import com.xiangban.model.dto.OrderDto;
import com.xiangban.model.vo.OrderVo;

import java.text.ParseException;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/12/8 14:32
 */
public interface OrderService {
    Object estimateOrderMoney(Order order);

    void createOrder(Order order) throws ParseException;

    void finishOrder(Order order);

    void remarkOrVisit(Order order);

    PageInfo<OrderVo> listOrderPage(OrderVo orderVo);

    Object getOrder(OrderVo orderVo);

    Object listAccompanyReceiveStatus(AccompanyReceiveStatusDto receiveStatusDto);

    Object getMedicalData(AccompanyReceiveOrder receiveOrder);

    Object getServiceRating(OrderComment orderComment);

    void cancelOrder(Order order);

    void telephoneInterviews(Order order);

    void updateMedicalData(AccompanyReceiveOrder receiveOrder);
}
